package com.nut.article.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_file")
public class SysFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    //文件名
    private String name;

    //文件url
    private String url;

    //文件后缀
    private String ext;

    //大小  单位字节
    private Long size;

    @TableField("create_time")
    private String createTime;

    @TableLogic
    private Integer deleted;

}
